import {
    apiPost,
    apiGet
} from './axios.js'

export const apiSignIn = (data, info) => apiGet('/sign_in', data, info); // 用户登录
export const apiVerificationCode = (data, info) => apiGet('/verification_code', data, info); // 获取短信验证码


export const apiRegisterHotel = (params, info) => apiPost('/sign_up', params, info); // 酒店角色注册
export const apiRegisterReviewer = (params, info) => apiPost('/new/reviewer/sign_up_to_hotel_reviewer', params, info); // 专家角色注册

export const apiSearchHotelInfo = (data, info) => apiGet('/search_hotel_info', data, info); // 查询绑定企业列表（分页）
export const apiAddToHotel = (data, info) => apiGet('/new/group/add_to_hotel', data, info); // 绑定酒店编码